package com.well.register.eventAndlistener;

import com.well.rpc.model.RegisterModel;
import lombok.Data;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * <p>
 * server down event
 * </p>
 *
 * @author weedo
 * @since 2022/8/18
 */
@Getter
public class ServerDownEvent extends ApplicationEvent {

    private RegisterModel registerModel;


    public ServerDownEvent(RegisterModel source) {
        super(source);
        this.registerModel = source;
    }
}
